package com.yc.cloud.admin.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 产品
 *
 * @author Yancy
 * @since 2024-04-20
 */
@Data
@ApiModel(value = "SysApplicationVersion对象", description = "系统应用版本创建参数")
public class SysApplicationVersionCreateParam {


    @ApiModelProperty(value = "应用ID", required = true)
    @NotNull
    private Long applicationId;

    @ApiModelProperty(value = "文件ID", required = true)
    @NotNull
    private Long fileId;

    @ApiModelProperty(value = "版本号", required = true)
    @NotNull
    private Integer versionNumber;

    @ApiModelProperty("版本名称")
    private String versionName;

    @ApiModelProperty("更新内容")
    private String releaseNotes;

    @ApiModelProperty(value = "是否强制更新", required = true)
    @NotNull
    private Boolean must;


}
